<?php

$this->menu=array(
	array('label'=>'List Assignments', 'url'=>array('index')),
	array('label'=>'Create Assignments', 'url'=>array('create')),
	array('label'=>'Update Assignments', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Assignments', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Assignments', 'url'=>array('admin')),
);?>

<?php $this->widget('bootstrap.widgets.TbAlert', array(
    'block' => false,
    'fade' => true,
    'closeText' => '&times;', // false equals no close link
    'events' => array(),
    'htmlOptions' => array(),
    'userComponentId' => 'user',
    'alerts' => array( 
        'success' => array('closeText' => '&times;'),
        'info',
    ),
));?>
 
  <div class="span-16" id="form">
<?php $box = $this->beginWidget('bootstrap.widgets.TbBox', array(
	'title' => 'Mission Assignment'.' ('.$model->assignment.')',
	'htmlOptions' => array('class'=>'bootstrap-widget-table')
));?>

<?php $this->widget('bootstrap.widgets.TbDetailView',array(
'data'=>$model,
'attributes'=>array(
		'missionName',	
		'volunteerName',
		'assignment_length',
		'assignment_start_date',
		'assignment_end_date',
		'total_months_rendered',
		'assignment_status',
),
)); ?>
</div>
<?php $this->endWidget();?>